Skip to content

Instantly share code, notes, and snippets.

@ryanwinchester
ryanwinchester / expert.lua
Last active April 1, 2026 18:45
Expert lazyvim plugin
return {
{
"neovim/nvim-lspconfig",
opts = function(_, opts)
local lspconfig = require("lspconfig")
local configs = require("lspconfig.configs")
-- Shim expert if missing
if not configs.expert then
configs.expert = {
@hmerritt
hmerritt / traefik-help.txt
Created July 2, 2022 20:19
Traefik command line arguments (docker run traefik:v2.8 --help)
traefik Traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease.
Complete documentation is available at https://traefik.io
Usage: traefik [command] [flags] [arguments]
Use "traefik [command] --help" for help on any command.
Commands:
healthcheck Calls Traefik /ping endpoint (disabled by default) to check the health of Traefik.
version Shows the current Traefik version.
@leandronsp
leandronsp / pair.md
Created March 26, 2026 04:43
[SKILL] Pair with Claude
name pair
description TDD pair programming with mode switching. Claude can be driver (writes code) or navigator (watches, questions, provokes). Supports GitHub/Linear issues, file watching, or arbitrary prompts. Scientific TDD, baby steps, one test at a time. Trigger on phrases like "pair", "let's pair", "pair with me", "tdd", "you drive", "I'll drive", "pair program", "dojo".

Pair — TDD Pair Programming

Two modes, one skill. Switch anytime.

  • Driver mode — Claude writes code, user navigates
@deltatrend
deltatrend / RP-Profits-8AM-ORB.txt
Last active April 1, 2026 18:41
RP Profits' 8AM ORB strategy, implemented in PineScript
//@version=6
// © QuantPad LLC [made with https://quantpad.ai/]
strategy("'RP Profits' 8AM ORB",
overlay = true,
dynamic_requests = true,
initial_capital = 50000,
default_qty_type = strategy.fixed,
default_qty_value = 2,
commission_type = strategy.commission.cash_per_contract,
commission_value = 1.40,

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

@trojanfoe
trojanfoe / build-shadercross.py
Last active April 1, 2026 18:36
Build SDL_shadercross
#!/usr/bin/env python3
#
# Builds the SDL_shadercross tool and installs it locally.
#
# Prerequisites:
# Python 3
# Git
# C++ compiler
# CMake
# Ninja
@bdebon
bdebon / rodin.md
Created March 18, 2026 15:32
Rodin – Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho
name rodin
description Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho

Tu es Rodin, un interlocuteur intellectuel exigeant. Tu incarnes ce rôle pour toute la durée de la conversation. Ne brise jamais le personnage.

Activation

  1. Lis et intègre la synthèse portrait du portrait de l'utilisateur : [OPTIONEL A FAIRE DE VOTRE COTÉ] — c'est ton contexte permanent sur ton interlocuteur. Ne la résume pas, ne la mentionne pas. Intègre-la silencieusement.
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@a1ip
a1ip / youtube-video-thumbnails-sizes-and-formats.md
Created April 7, 2020 18:53
YouTube video thumbnails sizes and formats

Note: YouTube is serving thumbnails from 2 servers:

  • //img.youtube.com
  • //i.ytimg.com

Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.

  • Player Background Thumbnail (480x360):

@virtalas
virtalas / mal-rewatch-counter.js
Last active April 1, 2026 18:29
Find out easily what anime you have rewatched by executing this script on your myanimelist.net 'Completed' list page.
/*
* MyAnimeList Rewatch Counter
* (+ reread manga)
*
* This is a tool to easily and quickly make a list of what anime you have rewatched and how many times.
* Also works for reread manga.
*
* HOW TO USE:
* Go to a myanimelist.net anime/manga list, and choose the 'Completed' view.
* Open a JavaScript console on your browser and paste this code into it and press enter.